package com.ghy.mapper;
import com.ghy.entity.EbProductCategory;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface ProductCategoryMapper {
    List<EbProductCategory> findByPage();
    EbProductCategory select(Integer epcId);
    EbProductCategory selectByName(String epcName);
    public int save(EbProductCategory ebProductCategory);
    int remove(int epcId);
    int deleteAllChild(Integer epcParentId);
    Integer updateByPrimaryKey(EbProductCategory ebProductCategory);
    Integer getMaxPage(Integer pageSize);
    List<EbProductCategory> selectFather(@Param("epcId")Integer epcId, @Param("epcParentId") Integer epcParentId);
}
